//
//  CalcViewController.m
//  Finance
//
//  Created by Hu Jianguo on 13-7-22.
//  Copyright (c) 2013年 cheng xiang. All rights reserved.
//

#import "CalcViewController.h"
#import "CalculatorViewController.h"

@interface CalcViewController ()

@end

@implementation CalcViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    [self setHidesBottomBarWhenPushed:YES];
    CalculatorViewController* mycal = [[CalculatorViewController alloc] initWithNibName:@"CalculatorViewController" bundle:nil];
    //[self.navigationController popToViewController:mycal animated:YES];
    [self.view addSubview:mycal.view];
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
